.file "comma_and_strange_assignment.c"
.text
.section .rodata
.align 3
.LC0:
        .string "x = %d, y = %d, z = %d\n"
        .align  3
.LC1:
        .string "houseprice = %d\n"
        .text
        .align  2

.text
.globl main
.type main, @function
main:
    addi sp, sp, -32
    sd ra, 24(sp)
    sd s0, 16(sp)
    addi s0, sp, 32

    li a5, 3
    sw a5, -20(s0) /* y */
    lw a5, -20(s0) /* y */
    addi a5, a5, 1
    sw a5, -20(s0) /* y */
    lw a5, -20(s0) /* y */
    addi a5, a5, 2
    sw a5, -24(s0) /* z */
    addi a5, a5, 5
    sw a5, -28(s0) /* x */

    lw a1, -28(s0) /* x */
    lw a2, -20(s0) /* y */
    lw a3, -24(s0) /* z */
    lui a5, %hi(.LC0)
    addi a0, a5, %lo(.LC0)
    call printf

    li a5, 245
    sw a5, -32(s0)
    // 可以用mv a1, a5
    add a1, a5, zero
    lui a5, %hi(.LC1)
    addi a0, a5, %lo(.LC1)
    call printf

    li a5, 500
    sw a5, -32(s0)
    // 可以用mv a1, a5
    add a1, a5, zero
    lui a5, %hi(.LC1)
    addi a0, a5, %lo(.LC1)
    call printf

    ld s0, 16(sp)
    ld ra, 24(sp)
    addi sp, sp, 32
    jr ra